package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Railagetask entity. @author MyEclipse Persistence Tools
 */

public class Railagetask implements java.io.Serializable {

	// Fields

	private Integer railagetaskId;
	private Staff staff;
	private Area areaByEndplace;
	private Goods goods;
	private Company companyByReceiveCompany;
	private Area areaByStartplace;
	private Company companyByTaskCompany;
	private Date taskDate;
	private Date endDate;
	private Short level;
	private Float number;
	private Float totalCharge;
	private Float totalPaid;
	private String paymentWay;
	private Boolean isSettlement;
	private String note;
	private Date settlementDate;
	private Set chargefees = new HashSet(0);
	private Set railagepaies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Railagetask() {
	}

	/** full constructor */
	public Railagetask(Staff staff, Area areaByEndplace, Goods goods, Company companyByReceiveCompany,
			Area areaByStartplace, Company companyByTaskCompany, Date taskDate, Date endDate, Short level, Float number,
			Float totalCharge, Float totalPaid, String paymentWay, Boolean isSettlement, String note,
			Date settlementDate, Set chargefees, Set railagepaies) {
		this.staff = staff;
		this.areaByEndplace = areaByEndplace;
		this.goods = goods;
		this.companyByReceiveCompany = companyByReceiveCompany;
		this.areaByStartplace = areaByStartplace;
		this.companyByTaskCompany = companyByTaskCompany;
		this.taskDate = taskDate;
		this.endDate = endDate;
		this.level = level;
		this.number = number;
		this.totalCharge = totalCharge;
		this.totalPaid = totalPaid;
		this.paymentWay = paymentWay;
		this.isSettlement = isSettlement;
		this.note = note;
		this.settlementDate = settlementDate;
		this.chargefees = chargefees;
		this.railagepaies = railagepaies;
	}

	// Property accessors

	public Integer getRailagetaskId() {
		return this.railagetaskId;
	}

	public void setRailagetaskId(Integer railagetaskId) {
		this.railagetaskId = railagetaskId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Area getAreaByEndplace() {
		return this.areaByEndplace;
	}

	public void setAreaByEndplace(Area areaByEndplace) {
		this.areaByEndplace = areaByEndplace;
	}

	public Goods getGoods() {
		return this.goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Company getCompanyByReceiveCompany() {
		return this.companyByReceiveCompany;
	}

	public void setCompanyByReceiveCompany(Company companyByReceiveCompany) {
		this.companyByReceiveCompany = companyByReceiveCompany;
	}

	public Area getAreaByStartplace() {
		return this.areaByStartplace;
	}

	public void setAreaByStartplace(Area areaByStartplace) {
		this.areaByStartplace = areaByStartplace;
	}

	public Company getCompanyByTaskCompany() {
		return this.companyByTaskCompany;
	}

	public void setCompanyByTaskCompany(Company companyByTaskCompany) {
		this.companyByTaskCompany = companyByTaskCompany;
	}

	public Date getTaskDate() {
		return this.taskDate;
	}

	public void setTaskDate(Date taskDate) {
		this.taskDate = taskDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Short getLevel() {
		return this.level;
	}

	public void setLevel(Short level) {
		this.level = level;
	}

	public Float getNumber() {
		return this.number;
	}

	public void setNumber(Float number) {
		this.number = number;
	}

	public Float getTotalCharge() {
		return this.totalCharge;
	}

	public void setTotalCharge(Float totalCharge) {
		this.totalCharge = totalCharge;
	}

	public Float getTotalPaid() {
		return this.totalPaid;
	}

	public void setTotalPaid(Float totalPaid) {
		this.totalPaid = totalPaid;
	}

	public String getPaymentWay() {
		return this.paymentWay;
	}

	public void setPaymentWay(String paymentWay) {
		this.paymentWay = paymentWay;
	}

	public Boolean getIsSettlement() {
		return this.isSettlement;
	}

	public void setIsSettlement(Boolean isSettlement) {
		this.isSettlement = isSettlement;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Date getSettlementDate() {
		return this.settlementDate;
	}

	public void setSettlementDate(Date settlementDate) {
		this.settlementDate = settlementDate;
	}

	public Set getChargefees() {
		return this.chargefees;
	}

	public void setChargefees(Set chargefees) {
		this.chargefees = chargefees;
	}

	public Set getRailagepaies() {
		return this.railagepaies;
	}

	public void setRailagepaies(Set railagepaies) {
		this.railagepaies = railagepaies;
	}

}